home *** CD-ROM | disk | FTP | other *** search
Text File | 1985-09-03 | 1.7 KB | 62 lines | [TEXT/MACA] |
- /* Written 12:33 am Aug 6, 1985 by ALAN@NCSUVM.BITNET in uiucdcsc:net.sources.mac */
- /* ---------- "SPEECH.H (part 2/2 of C interface f" ---------- */
-
- This is the header file for use with SPEECH.C
-
- Posted with permission by Alan Clegg, ALAN@NCSUVM.BITNET
- for Michael Hecht.
-
- Respond to ALAN@NCSUVM.BITNET
-
- ------------------------------------Cut Here-----------------------------------
-
- #ifndef _TYPES
- #include <types.h>
- #endif
-
- #define noExcpsFile ""
- #define noReader "\PnoReader"
- #define fullUnitT -4000
-
- typedef int SpeechErr;
- typedef Byte SpeechRecord[100];
- typedef SpeechRecord * SpeechPointer;
- typedef SpeechPointer * SpeechHandle;
-
- typedef Byte Sex;
- #define Male 0
- #define Female 1
-
- typedef Byte FOMode;
- #define Natural 0
- #define Robotic 1
- #define NoChange 2
-
- typedef Byte Language;
- #define xEnglish 0
- #define French 1
- #define Spanish 2
- #define German 3
- #define Italian 4
-
- struct VoiceRecord {
- Sex theSex;
- Language theLanguage;
- int theRate;
- int thePitch;
- FOMode theMode;
- Str255 theName;
- long refCon;
- };
- typedef struct VoiceRecord VoiceRecord;
- typedef VoiceRecord * VoicePtr;
-
- SpeechErr SpeechOn();
- void SpeechOff();
- void SpeechRate();
- void SpeechPitch();
- void SpeechSex();
- SpeechErr Reader();
- SpeechErr MacinTalk();
- /* End of text from uiucdcsc:net.sources.mac */
-